package com.emm.yixun.jobs;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;


@Component
public class AutoSendMessageJob {
	 private static Logger   logger  = LoggerFactory.getLogger(AutoSendMessageJob.class);

	 
	 
     @Scheduled(cron="0 */1 * * * ?")
     public void autoSendMessage(){
    	 logger.info("job start..........");
    	 logger.info("job end..........");
     }
     

}
